package com.backend.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import com.backend.entity.OperateLog;

@Mapper
public interface OperateLogMapper {

    //**
    //新增log
    //**
    @Insert("insert into logs (operator_id,operation_time,class_name,method_name,input_params,output_params,used_time) " +
            "values (#{operator}, #{time}, #{className}, #{methodName}, #{methodParam}, #{returnValue},#{usedTime})")
    void logInsert(OperateLog operateLog);

}
